SERVER=server
CLIENT=client 
SERVER_SRC=server.cc 
CLIENT_SRC=client.cc 

.PHONY:all
all: $(SERVER) $(CLIENT)
$(SERVER):$(SERVER_SRC)
	g++ -o $@ $^
$(CLIENT):$(CLIENT_SRC)
	g++ -o $@ $^	

.PHONY: clean
clean:
	rm -rf $(SERVER) $(CLIENT)